package com.inspur.cmis.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.inspur.cmis.mapper.MgrltrMapper;
import com.inspur.cmis.pojo.MgrLearnTrain;
import com.inspur.cmis.service.MgrltrService;
@Service("mgrltrService")
public class MgrltrServiceImpl implements MgrltrService{
	@Autowired
	private MgrltrMapper mgrltrMapper;
	@Override
	public void ltrAdd(MgrLearnTrain m) {
		// TODO Auto-generated method stub
		mgrltrMapper.ltrAdd(m);
	}
	@Override
	public List<MgrLearnTrain> getltrList(HashMap<String, Object> map) {
		// TODO Auto-generated method stub
		return mgrltrMapper.getltrList(map);
	}
	@Override
	public void deleteltr(int[] ids) {
		// TODO Auto-generated method stub
		 mgrltrMapper.deleteltr(ids);
	}
	@Override
	public List<MgrLearnTrain> getltrByKey(String key) {
		// TODO Auto-generated method stub
		return  mgrltrMapper.getltrByKey(key);
	}
	@Override
	public void updateltr(MgrLearnTrain m) {
		// TODO Auto-generated method stub
		mgrltrMapper.updateltr(m);
	}

}
